<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<title>配送单打印</title>
<script language="javascript">
function printWithAlert() {
	    window.print();
	    window.close();
		}
</script>
<OBJECT   id=WebBrowser   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   width=0   VIEWASTEXT>
</OBJECT>
<style media=print>
.Noprint {
	display: none;
}

.PageNext {
	page-break-after: always;
}
</style>
<table align="center" class=NOPRINT>
	<tr>
		<td align="center">
		     <button title=打印 onclick="printWithAlert();">打印</button>
		</td>
	</tr>
</table>

<div class=NOPRINT>
	<b>配送单信息:</b><br>
</div>
<c:if test="${!empty orderHtmlUrlList}">
	<c:forEach items="${orderHtmlUrlList}" var="orderHtmlUrl">
		<hr size=1 noshadow color=black class=NOPRINT>
		<div class="PageNext">
			<iframe runat="server" src="${orderHtmlUrl}" width="410" height="410"
				frameborder="no" border="0" marginwidth="0" marginheight="0"
				scrolling="no" allowtransparency="yes"></iframe>
		</div>
	</c:forEach>
</c:if>


</html>
